<form id="pagerForm" action="jms/tower" onsubmit="return navTabSearch(this)" method="post">
    <input type="hidden" name="pageNum" value="${(pager.pageNumber)!}" />
    <input type="hidden" name="numPerPage" value="${(pager.pageSize)!}" />
</form>
<div class="pageHeader">

    <form id="searchForm" rel="pagerForm" onsubmit="return navTabSearch(this);" action="jms/tower" method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>
                        <label>站点名称：</label>
                        <input type="text" size="20" name="tower.name" value="${(name)!}" />
                    </td>

                    <td>
                        <label>站点编码：</label>
                        <input type="text"  size="20" name="tower.addr_code" value="${(addr_code)!}" />
                    </td>

                    <td>
                        <label>盘点人：</label>
                        <input type="text"  size="20" name="tower.operator" value="${(operator)!}"  />
                    </td>

                    <td>
                        <label>运营商：</label>
                        <select name="tower.owner">
                            <option value="">---请选择---</option>
                            <option value="移动" <#if (owner)?? && owner=='移动'> selected="selected"</#if>>移动</option>
                            <option value="电信" <#if (owner)?? && owner=='电信'> selected="selected"</#if>>电信</option>
                            <option value="联通" <#if (owner)?? && owner=='联通'> selected="selected"</#if>>联通</option>
                        </select>
                    </td>

                </tr>
                <tr>
                    <td>
                        <label>清查时间从：</label>
                        <input type="text" name="beginDate" value="${(beginDate)!}" class="date" readonly="true"/>
                     </td>
                    <td>
                        <label>到：</label>
                        <input type="text" name="endDate" value="${(endDate)!}" class="date" readonly="true"/>

                    </td>
                    <td>
                        <label>是否盘点：</label>
                        <select name="tower.status">
                            <option value="">---请选择---</option>
                            <option value="是" <#if (status)?? && status=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (status)?? && status=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>
                    <td>
                        <label>区县：</label>
                        <select name="tower.home_county">
                            <option value="">---请选择---</option>
                            <option <#if (home_county)?? && home_county=='东山县'> selected="selected"</#if> value="东山县">东山县</option>
                            <option <#if (home_county)?? && home_county=='云霄县'> selected="selected"</#if> value="云霄县">云霄县</option>
                            <option <#if (home_county)?? && home_county=='华安县'> selected="selected"</#if> value="华安县">华安县</option>
                            <option <#if (home_county)?? && home_county=='南靖县'> selected="selected"</#if> value="南靖县">南靖县</option>
                            <option <#if (home_county)?? && home_county=='平和县'> selected="selected"</#if> value="平和县">平和县</option>
                            <option <#if (home_county)?? && home_county=='漳浦县'> selected="selected"</#if> value="漳浦县">漳浦县</option>
                            <option <#if (home_county)?? && home_county=='芗城区'> selected="selected"</#if> value="芗城区">芗城区</option>
                            <option <#if (home_county)?? && home_county=='诏安县'> selected="selected"</#if> value="诏安县">诏安县</option>
                            <option <#if (home_county)?? && home_county=='长泰县'> selected="selected"</#if> value="长泰县">长泰县</option>
                            <option <#if (home_county)?? && home_county=='龙文区'> selected="selected"</#if> value="龙文区">龙文区</option>
                            <option <#if (home_county)?? && home_county=='龙海市'> selected="selected"</#if> value="龙海市">龙海市</option>
                        </select>

                    </td>
                    <td>
                        <div class="button"><div class="buttonContent"><button type="submit">查询</button></div></div>
                        <div class="button"><a class="button" href="jms/tower/search" target="dialog" mask="true" title="高级检索"><span>高级检索</span></a></div>
                    </td>

                </tr>
            </table>
        </div>
    </form>
</div>

<div class="pageContent" style="padding:0px">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a class="add" href="jms/tower/add" width="500" height="560" target="dialog" mask="true"><span>站点外录入</span></a></li>
            <li><a class="edit" href="jms/tower/edit?id={sid_obj}" width="500" height="560" target="dialog" mask="true"><span>现场盘点情况核实</span></a></li>
            <li class="line">line</li>
            <li><a class="delete" href="jms/tower/delete"  target="selectedTodo" rel="ids"  title="确认删除？"><span>删除</span></a></li>
            <li class="line">line</li>
            <li class=""><a class="icon" href="jms/tower/export" target="dwzExport" targettype="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
        </ul>
    </div>

    <table class="table" layoutH="140">
        <thead>
        <tr>
            <th width="60" align="left"><input type="checkbox" group="ids" class="checkboxCtrl"/>行号</th>

            <th width="200" align="left">物理站点名称</th>
            <th width="160" align="left">物理站点编码</th>
            <th width="60" align="left">塔型</th>
            <th width="60" align="left">运营商</th>
            <th width="60" align="left">是否盘点</th>
            <th width="120" align="left">盘点时间</th>
            <th width="50" align="left">盘点人</th>
            <th width="300" align="left">盘点存在问题</th>
            <th width="300" align="left">核查存在问题</th>
        </tr>
        </thead>
        <tbody>
        <#list pager.list as tower>
            <tr target="sid_obj" rel="${(tower.id)!}" ondblclick="migr.baseMoudleDblick(this)">
                <td align="left">
                    <input name="ids" type="checkbox" value="${(tower.id)!}"/>
                    ${tower_index + 1}
                </td>

                <td align="left">${(tower.name)!}</td>
                <td align="left">${(tower.addr_code)!}</td>
                <td align="left">${(tower.towerType)!}</td>
                <td align="left">${(tower.owner)!} </td>
                <td align="left">${(tower.status)!} </td>
                <td align="left">${(tower.modifyDate)!} </td>
                <td align="left">${(tower.operator)!} </td>
                <td align="left">${(tower.memo)!} </td>
                <td align="left">${(tower.checkMemo)!} </td>
            </tr>
        </#list>
        </tbody>
    </table>

    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                <option value="20" <#if pager.pageSize == 20> selected</#if>>20</option>
                <option value="50" <#if pager.pageSize == 50> selected</#if>>50</option>
                <option value="100"<#if pager.pageSize == 100> selected</#if>>100</option>
                <option value="200"<#if pager.pageSize == 200> selected</#if>>200</option>
            </select>
            <span>条，共<font style="color:red;font-weight:bold;">${pager.totalRow!}</font>条，共<font style="color:red;font-weight:bold;">${pager.totalPage!}</font>页&nbsp;&nbsp;&nbsp;&nbsp;</span>
        </div>
        <div class="pagination" targetType="navTab" totalCount="${pager.totalRow!}" numPerPage="${pager.pageSize!}" pageNumShown="10" currentPage="${pager.pageNumber!}"></div>
    </div>


</div>

